package com.module.framework.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.module.framework.domain.Menu;
import com.module.framework.domain.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author JiHuiQin
 * @Date 2022/2/14 22:57
 * @Version 1.0
 */
@Repository
public interface MenuMapper extends BaseMapper<Menu> {
	 List<Menu> selectPermsByUserId(long userId);

     List<Menu> selectPermsByRoleId(long roleId);
}
